package com.pzc.service.impl;

import com.pzc.entity.WarnHistory;
import com.pzc.mapper.WarnMapper;
import com.pzc.service.WarnService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WarnServiceImpl implements WarnService {
    @Resource
    WarnMapper warnMapper;

    @Override
    public List<WarnHistory> findAllWarnHistory() {
        return warnMapper.findWarnHistory();
    }
}
